package com.wang.service;

import com.wang.bean.Singlechoice;
import com.wang.bean.SinglechoiceResults;
import com.wang.bean.SinglechoiceSubmissionLog;
import com.wang.bean.SysUserEntity;

import java.util.List;

public interface SinglechoiceResultsService {
    public SinglechoiceResults findSinglechoiceResultsByUserSinglechoiceId(SinglechoiceResults singlechoiceResults);
    public List<SinglechoiceResults> findSinglechoiceResultsByUserId(SinglechoiceResults singlechoiceResults);
    public List<SinglechoiceResults> findSinglechoiceResultsBySinglechoiceId(SinglechoiceResults singlechoiceResults);
    public List<SinglechoiceResults> findSinglechoiceResultsAll();
    public void addSinglechoiceResults(SinglechoiceResults singlechoiceResults);
    public void updateSinglechoiceResults(SinglechoiceResults singlechoiceResults);
    public Singlechoice selectoneSinglechoice(Long singlechoice_id);
    public SysUserEntity selectOneById (Long user_id);
    public List<SinglechoiceSubmissionLog> findsinglechoicesubmissionlog();
    public void addsinglechoicesubmissionlog(SinglechoiceSubmissionLog singlechoiceSubmissionLog);
}
